<?php

App::uses('Crud', 'Model');

class AbilityConfig extends Crud
{
    public $useTable = 'abilities_config';

    /**
     * Obtenemos el registro de configuración.
     * @return array
     */
    public function getData() {
        $filters = array(
//            'order' => array('creation_date' => 'ASC'),
//            'limit' => 15,
        );
        $records = $this->find('all', $filters);
        return $this->flatArray($records);
    }

}
